package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name = "t_delivery_bail")
public class DeliveryBail extends BaseEntity {

    private Integer id;
    /**
     * 配送员编号
     **/
    private Integer deliveryId;
    /**
     * 消费类型 1充值 2投诉扣款 3差评扣款
     **/
    private Integer type;
    /**
     * 消费时间
     **/
    private Date consumptionTime;
    /**
     * 充值消费金额
     **/
    private BigDecimal money;
    /**
     * 押金金额
     */
    private BigDecimal bail;
    /**
     * 押金金额
     */
    private String orderNumber;
    /**
     * 扣款理由
     */
    private String reason;

    @Id
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 配送员编号
     **/
    public Integer getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(Integer deliveryId) {
        this.deliveryId = deliveryId;
    }

    /**
     * 消费类型 1充值 2投诉扣款 3差评扣款
     **/
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 消费时间
     **/
    public Date getConsumptionTime() {
        return consumptionTime;
    }

    public void setConsumptionTime(Date consumptionTime) {
        this.consumptionTime = consumptionTime;
    }

    /**
     * 充值消费金额
     **/
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getBail() {
        return bail;
    }

    public void setBail(BigDecimal bail) {
        this.bail = bail;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}